package feesmodule.converter;

import feesmodule.domain.ConditionSet;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class ConditionSetConverter
{
    private ConditionSet condition;

    public ConditionSetConverter()
    {
    }
    public ConditionSetConverter(ConditionSet conditions)
    {
        this.condition = conditions;
    }
    @XmlElement
    public String getType()
    {
        return condition.getDescription();
    }
}
